FROM alpine:edge
RUN apk update
RUN apk add openssh-server
RUN apk add openssh-sftp-server
RUN ssh-keygen -A
COPY run.sh /run.sh
RUN chmod a+x /run.sh
VOLUME /home/sftp
EXPOSE 22
CMD ["/run.sh"]
